/**
 * output package name
 */
package com.kingdee.eas.hr.rec;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class CommutingEnum extends IntEnum
{
    public static final int COMMUTING_VALUE = 1;
    public static final int ROOM_VALUE = 2;

    public static final CommutingEnum COMMUTING = new CommutingEnum("COMMUTING", COMMUTING_VALUE);
    public static final CommutingEnum ROOM = new CommutingEnum("ROOM", ROOM_VALUE);

    /**
     * construct function
     * @param integer commutingEnum
     */
    private CommutingEnum(String name, int commutingEnum)
    {
        super(name, commutingEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CommutingEnum getEnum(String commutingEnum)
    {
        return (CommutingEnum)getEnum(CommutingEnum.class, commutingEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static CommutingEnum getEnum(int commutingEnum)
    {
        return (CommutingEnum)getEnum(CommutingEnum.class, commutingEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CommutingEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CommutingEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CommutingEnum.class);
    }
}